package com.web.util;

import com.mchange.v2.codegen.bean.Property;

/**
 * Created by reeves on 2015/8/29.
 * 此类主要用于读取global.properties文件的常量配置
 */
public class Properties {

    //本地Windows服务器
    public static String ImgSrc_Windows = PropertyReader.getInstance().getProperty("ImgSrc_Windows");

    //本地linux服务器图片上传路径前缀
    public static String ImgSrc_LocalLinux = PropertyReader.getInstance().getProperty("ImgSrc_LocalLinux");

    //云端服务器图片上传路径前缀
    public static String ImgSrc_CloudServer = PropertyReader.getInstance().getProperty("ImgSrc_CloudServer");

    //云服务器&本地Linxu服务器上传图片存储地址
    public static String ImgSaveDir_Linux = PropertyReader.getInstance().getProperty("ImgSaveDir_Linux");

    //云服务器&本地Linxu服务器上传Break和专题大图片的图片存储地址
    public static String ImgNewSaveDir_Linux = PropertyReader.getInstance().getProperty("ImgOfSaveDir_Linux");

    //本地Windows服务器
    public static String ImgSaveDir_Windows = PropertyReader.getInstance().getProperty("ImgSaveDir_Windows");

    //初始界面显示的信息条数
    public static int PageSize_Main = Integer.valueOf(PropertyReader.getInstance().getProperty("PageSize_Main"));

    // 信息界面前缀
    public static String Page_suffix = PropertyReader.getInstance().getProperty("Page_suffix");

    // 信息界面后缀
    public static String Page_postfix = PropertyReader.getInstance().getProperty("Page_postfix");

    // 服务器IP地址
    public static String Server_IP = PropertyReader.getInstance().getProperty("Server_IP");

    // 网页排版中控制页面排版的前缀
    public static String Page_TypeSetPre = PropertyReader.getInstance().getProperty("Page_TypeSetPre");
    // 文章排版的初始到标题图片的URL地址
    public static String PageContent_Pre = PropertyReader.getInstance().getProperty("PageContent_Pre");
    // 标题图片之后和标题之间的html代码
    public static String PageContent_PreTitle = PropertyReader.getInstance().getProperty("PageContent_PreTitle");
    // 文章标题之后到文章阅读数之间的html代码
    public static String PageContent_PreReadNum = PropertyReader.getInstance().getProperty("PageContent_PreReadNum");
    // 文章阅读数到文章的推送日期之间的html代码
    public static String PageContent_PreDate = PropertyReader.getInstance().getProperty("PageContent_PreDate");
    // 文章日期和来源之后到标题大图之间的html代码
    public static String PageContent_PreTitleImg = PropertyReader.getInstance().getProperty("PageContent_PreTitleImg");
    // 标题图片到文章正文之间的html代码
    public static String PageContent_PreCon = PropertyReader.getInstance().getProperty("PageContent_PreCon");
    // 查看原文之前的html代码
    public static String Page_Content_PreSouAddress = PropertyReader.getInstance().getProperty("Page_Content_PreSouAddress");
    // 查看原文之后的html代码
    public static String Page_Content_PreLast = PropertyReader.getInstance().getProperty("Page_Content_PreLast");
    // 网页排版中控制页面排版的后缀
    public static String Page_TypeSetPost = PropertyReader.getInstance().getProperty("Page_TypeSetPost");
    // 模板文件位置
    public static String Page_ModelURL = PropertyReader.getInstance().getProperty("Page_ModelURL");
    // 图片存储路径
    public static String SaveDir = PropertyReader.getInstance().getProperty("SaveDir");

    // 阿里云OSS服务初始化配置信息
    // Aliyun_Oss_AccessKeyId
    public static String Aliyun_Oss_AccessKeyId = PropertyReader.getInstance().getProperty("Aliyun_Oss_AccessKeyId");
    // Aliyun_Oss_AccessKeySecret
    public static String Aliyun_Oss_AccessKeySecret = PropertyReader.getInstance().getProperty("Aliyun_Oss_AccessKeySecret");
    // Aliyun_Oss_Endpoint
    public static String Aliyun_Oss_Endpoint = PropertyReader.getInstance().getProperty("Aliyun_Oss_Endpoint");
    // Aliyun_Oss_BucketName
    public static String Aliyun_Oss_BucketName = PropertyReader.getInstance().getProperty("Aliyun_Oss_BucketName");
    // Aliyun_Oss_ImagePrefix
    public static String Aliyun_Oss_ImagePrefix = PropertyReader.getInstance().getProperty("Aliyun_Oss_ImagePrefix");


}
